Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Include FQDN in canonical URLs, show full page URL.#478

Merged
Jkrzy merged 1 commit intodevfrom
include-full-url-in-canonical
Apr 10, 2020
Merged

Include FQDN in canonical URLs, show full page URL.#478
Jkrzy merged 1 commit intodevfrom
include-full-url-in-canonical

Conversation

@adunkman
Copy link
Contributor

@adunkman adunkman commented Apr 9, 2020

Fixes #430.

The canonical URL should be the clean path to the current page, including the hostname. This PR implements that fix.

Additionally, since these are now URLs which point to production, HTMLProofer tries to check to see if these URLs are broken, which causes all new pages to fail builds. Fixed this issue by treating any URL to https://faq.coronavirus.gov as local in the HTMLProofer configuration.

@Jkrzy Jkrzy merged commit f2292fa into dev Apr 10, 2020
@Jkrzy Jkrzy deleted the include-full-url-in-canonical branch April 10, 2020 04:23
This was referenced Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Canonical url metadata should include full paths

2 participants